package pms.entity;


import java.time.LocalDate;

public class Medicine {
    private Integer medicine_id;
    private  String medicine_name;
    private Double medicine_price;
    private LocalDate medicine_date;//药品有效期（只写过期的那天）
    private Integer medicine_number;//库存数量
    private Integer medicine_thd;//库存阈值

    public Integer getMedicine_id() {
        return medicine_id;
    }

    public void setMedicine_id(Integer medicine_id) {
        this.medicine_id = medicine_id;
    }

    public String getMedicine_name() {
        return medicine_name;
    }

    public void setMedicine_name(String medicine_name) {
        this.medicine_name = medicine_name;
    }

    public Double getMedicine_price() {
        return medicine_price;
    }

    public void setMedicine_price(Double medicine_price) {
        this.medicine_price = medicine_price;
    }

    public LocalDate getMedicine_date() {
        return medicine_date;
    }

    public void setMedicine_date(LocalDate medicine_date) {
        this.medicine_date = medicine_date;
    }

    public Integer getMedicine_number() {
        return medicine_number;
    }

    public void setMedicine_number(Integer medicine_number) {
        this.medicine_number = medicine_number;
    }

    public Integer getMedicine_thd() {
        return medicine_thd;
    }

    public void setMedicine_thd(Integer medicine_thd) {
        this.medicine_thd = medicine_thd;
    }

    @Override
    public String toString() {
        return "Medicine{" +
                "medicine_id=" + medicine_id +
                ", medicine_name='" + medicine_name + '\'' +
                ", medicine_price=" + medicine_price +
                ", medicine_date=" + medicine_date +
                ", medicine_number=" + medicine_number +
                ", medicine_thd=" + medicine_thd +
                '}';
    }
}
